export const delay  = (timeout = 1000) => {
    return new Promise((resolve) => {
        setTimeout(resolve, timeout);
    });
};

export const ok = (data={})=> {
    return {
        "code": "0",
        "data": data,
        "message": "请求成功",
    }
}